/**
 * 语言包管理器配置选项
 */
export interface LanguageManagerOptions {
  defaultLanguage?: string;
  apiUrl?: string;
  timeout?: number;
  maxRetries?: number;
}

/**
 * 语言包数据接口
 */
export interface LanguagePackage {
  language: string;
  data: Map<string, string>;
  version?: number;
}

/**
 * 资源文件配置接口
 */
export interface ResourceConfig {
  path: string;
  format?: string;
  encoding?: string;
  excludePatterns?: string[];
}

/**
 * 翻译状态类型
 */
export type TranslationStatus = 'valid' | 'invalid' | 'missing';

/**
 * 翻译信息接口
 */
export interface TranslationInfo {
  key: string;
  language: string;
  value: string;
  status: TranslationStatus;
}

/**
 * 解析器配置接口
 */
export interface ParserOptions {
  format: string;
  encoding?: string;
  excludePatterns?: string[];
}

/**
 * 网络请求配置接口
 */
export interface NetworkOptions {
  baseUrl: string;
  timeout?: number;
  maxRetries?: number;
  headers?: Record<string, string>;
}

/**
 * 解析结果接口
 */
export interface ParseResult {
  language: string;
  translations: Map<string, string>;
  errors?: Error[];
} 